00d0ce65c7d5bf81c8778e29280e3cd7961f42ee,remoting/subsystem/src/main/java/org/jboss/as/remoting/RemoteOutboundConnectionResourceDefinition.java,RemoteOutboundConnectionResourceDefinition,RemoteOutboundConnectionResourceDefinition,#,94
Before Change
static final RemoteOutboundConnectionResourceDefinition INSTANCE = new RemoteOutboundConnectionResourceDefinition();
private RemoteOutboundConnectionResourceDefinition() {
super(ADDRESS, RemotingExtension.getResourceDescriptionResolver(CommonAttributes.REMOTE_OUTBOUND_CONNECTION),
RemoteOutboundConnectionAdd.INSTANCE,
new ServiceRemoveStepHandler(AbstractOutboundConnectionService.OUTBOUND_CONNECTION_BASE_SERVICE_NAME, RemoteOutboundConnectionAdd.INSTANCE));
}
@Override
public void registerChildren(ManagementResourceRegistration resourceRegistration) {
After Change
static final RemoteOutboundConnectionResourceDefinition INSTANCE = new RemoteOutboundConnectionResourceDefinition();
private RemoteOutboundConnectionResourceDefinition() {
super(new Parameters(ADDRESS, RemotingExtension.getResourceDescriptionResolver(CommonAttributes.REMOTE_OUTBOUND_CONNECTION))
.setAddHandler(RemoteOutboundConnectionAdd.INSTANCE)
.setRemoveHandler(new ServiceRemoveStepHandler(OUTBOUND_CONNECTION_BASE_SERVICE_NAME, RemoteOutboundConnectionAdd.INSTANCE))
);
}
@Override
public void registerChildren(ManagementResourceRegistration resourceRegistration) {